﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPages/AdminMaster.master" AutoEventWireup="true" CodeFile="DashBoard1.aspx.cs" Inherits="home_DashBoard1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <table style="width:100%;">
        <tr>
            <td>
                <asp:GridView ID="gvRegistrationStatusDashboard" runat="server" DataKeyNames="StatusID"
                            PageSize="20" AllowPaging="True" Width="90%"
                            AutoGenerateColumns="False" OnPageIndexChanging="gvRegistrationStatusDashboard_PageIndexChanging" OnRowCommand="gvRegistrationStatusDashboard_RowCommand">
                            <Columns>
                              <%--  <asp:BoundField DataField="UserID" HeaderText="User ID" Visible="false">
                                    <ItemStyle HorizontalAlign="Left" Width="10%"/>
                                    <HeaderStyle HorizontalAlign="Left" />
                                </asp:BoundField>--%>
                                <asp:BoundField DataField="StatusID" HeaderText="Status ID" Visible="false">
                                    <ItemStyle Width="20%" HorizontalAlign="Left" />
                                    <HeaderStyle HorizontalAlign="Left" />
                                </asp:BoundField>
                                <asp:BoundField DataField="StatusCode" HeaderText="Registration Status">
                                    <ItemStyle Width="70%" HorizontalAlign="Left" />
                                    <HeaderStyle HorizontalAlign="Left" />
                                </asp:BoundField>
                                <asp:BoundField DataField="CNT" HeaderText="Count">
                                    <ItemStyle Width="20%" HorizontalAlign="Left" />
                                    <HeaderStyle HorizontalAlign="Left" />
                                </asp:BoundField>
                                <asp:TemplateField HeaderText="Details">
                                    <ItemTemplate>
                                        <asp:Button ID="btnDetails" CommandArgument='<%# Eval("StatusID") %>'
                                             CommandName="Details" runat="server" Text="Details" CausesValidation="false" />
                                    </ItemTemplate>

                                </asp:TemplateField>

                            </Columns>
                     <FooterStyle BackColor="Black" Font-Bold="True" ForeColor="White" />
                    <PagerStyle BackColor="#E2DED6" ForeColor="blue" HorizontalAlign="Center" />
                    <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
                    <HeaderStyle BackColor="Black" Font-Bold="True" ForeColor="White" />
                    <EditRowStyle BackColor="#CCCCCC" />
                    <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
                        </asp:GridView>
            </td>
            <td>
                 <asp:GridView ID="gvCandidateDetails" runat="server" DataKeyNames="CandidateID"
                            PageSize="10" AllowPaging="true" Width="90%"
                            AutoGenerateColumns="false" OnPageIndexChanging="gvCandidateDetails_PageIndexChanging">
                            <Columns>
                              <asp:BoundField DataField="CandidateID" HeaderText="Candidate ID" Visible="false">
                                    <ItemStyle HorizontalAlign="Left" Width="10%"/>
                                    <HeaderStyle HorizontalAlign="Left" />
                                </asp:BoundField>
                                <asp:BoundField DataField="BriefID" HeaderText="Status ID" Visible="false">
                                    <ItemStyle Width="20%" HorizontalAlign="Left" />
                                    <HeaderStyle HorizontalAlign="Left" />
                                </asp:BoundField>
                                <asp:BoundField DataField="BriefTitle" HeaderText="Brief Title">
                                    <ItemStyle Width="30%" HorizontalAlign="Left" />
                                    <HeaderStyle HorizontalAlign="Left" />
                                </asp:BoundField>
                                <asp:BoundField DataField="BriefDesc" HeaderText="Brief Desc">
                                    <ItemStyle Width="20%" HorizontalAlign="Left" />
                                    <HeaderStyle HorizontalAlign="Left" />
                                </asp:BoundField>
                                <asp:HyperLinkField DataNavigateUrlFields="                                    
                                    " DataNavigateUrlFormatString="/home/CandidateStatus.aspx?StatusID={0}"
                                    HeaderText="Details" Text="Details" ItemStyle-Width="2%" ItemStyle-HorizontalAlign="Center" />
                                
                            </Columns>
                      <FooterStyle BackColor="Black" Font-Bold="True" ForeColor="White" />
                    <PagerStyle BackColor="#E2DED6" ForeColor="blue" HorizontalAlign="Center" />
                    <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
                    <HeaderStyle BackColor="Black" Font-Bold="True" ForeColor="White" />
                    <EditRowStyle BackColor="#CCCCCC" />
                    <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
                        </asp:GridView>
            </td>
           
        </tr>
        
    </table>
</asp:Content>

